/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hojadetrabajo_6;

/**
 *
 * @author FRANCISCO
 */

import java.util.*;
/**
* The interface class MinMax provides an interface to class MinMaxHeap
* for the consistant implementation of methods that insert integers,
* delete the minimum and maximum integer, as well as show the minimum
* and maximum integer.
*/
interface MinMax 
{
public void enqueue(Comparable comparable);
public Comparable min();
public Comparable max();
public Comparable deleteMin();
public Comparable deleteMax();
}

//tomado de: http://josephsisson.com/images/MinMaxHeap.html